﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Silvana01_UI_Form
{
    public partial class FormListaEmpleados : Form
    {
        public FormListaEmpleados()
        {
            InitializeComponent();
        }

        private void FormListaEmpleados_Load(object sender, EventArgs e)
        {
            RefEmpleado.WS_Empleados ws_emple = new RefEmpleado.WS_Empleados();
            dataGridView1.DataSource = ws_emple.ListarEmpleado().Tables[0];
        }
    }
}
